package org.neuedu.vblogserver.service;

import org.neuedu.vblogserver.bean.Menu;
import org.neuedu.vblogserver.mapper.MenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuService {
    @Autowired
    MenuMapper menuMapper;

    public List<Menu> getMenus() {
        return menuMapper.getMenus();
    }
}
